package com.easy.frame.servers.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easy.frame.base.api.pojo.BasePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 能耗类型表
 *
 * @author tp
 * @since 2021-01-05
 */
@Getter
@Setter
@ToString
@TableName("sys_ec_type")
@ApiModel("能耗类型表")
public class SysEcType extends BasePO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("租户ID")
    private Long tenantId;

    @ApiModelProperty("项目ID")
    private Long projectId;

    @ApiModelProperty("编号")
    private String typeCode;

    @ApiModelProperty("名称")
    private String typeName;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("图片地址")
    private String pictureUrl;

    @ApiModelProperty("排序")
    private Integer seq;

    @ApiModelProperty("启用状态 [0禁用 1启用]")
    private Integer enabled;

}
